﻿using iHouse.Infrastructure;

namespace iHouse.Model.Repository.Interface
{
    public interface IBaseRepository<TEntity>
    {
        PaginationList<TEntity> FindEntitiesByCategory(int categoryID, int pageIndex, int pageSize);

        PaginationList<TEntity> FindEntities(PagingCriteria criteria);
    }
}
